home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / mac / Shout3Ddemo / S3D_2E1.exe / Shout3d_runtime / codebase / models / renderTests / multimesh_spherical_lightmap_4_ways.wrl < prev    next >
Text File  |  2000-09-11  |  2KB  |  87 lines

  1. StillCamProgAntialias {}
  2. DEF NO_MATERIAL Transform {
  3.     translation 0 0 0
  4.     children [
  5.         Shape {
  6.             appearance [
  7.                 MultiAppearance {
  8.                     environmentMap EnvironmentSphereMap {
  9.                         style LIGHT_MAP
  10.                         texture ImageTexture {
  11.                             url "sphere_lightmap.jpg"
  12.                         }
  13.                     }
  14.                 }
  15.             ]
  16.             geometry Cone {}
  17.         }
  18.     ]
  19. }
  20. DEF WITH_MATERIAL Transform {
  21.     translation 2 0 0
  22.     children [
  23.         Shape {
  24.             appearance [
  25.                 MultiAppearance {
  26.                     material Material {
  27.                         diffuseColor 0 0 1
  28.                     }
  29.                     environmentMap EnvironmentSphereMap {
  30.                         style LIGHT_MAP
  31.                         texture ImageTexture {
  32.                             url "sphere_lightmap.jpg"
  33.                         }
  34.                     }
  35.                 }
  36.             ]
  37.             geometry Cone {}
  38.         }
  39.     ]
  40. }
  41. DEF DIFF_TEXTURE Transform {
  42.     translation 4 0 0
  43.     children [
  44.         Shape {
  45.             appearance [
  46.                 MultiAppearance {
  47.                     diffuseMap DiffuseMap {
  48.                         texture ImageTexture { url "../images/shared/sky.gif" }
  49.                     }
  50.                     environmentMap EnvironmentSphereMap {
  51.                         style LIGHT_MAP
  52.                         texture ImageTexture {
  53.                             url "sphere_lightmap.jpg"
  54.                         }
  55.                     }
  56.                 }
  57.             ]
  58.             geometry Cone {}
  59.         }
  60.     ]
  61. }
  62. DEF TINTED_DIFF_TEXTURE Transform {
  63.     translation 6 0 0
  64.     children [
  65.         Shape {
  66.             appearance [
  67.                 MultiAppearance {
  68.                     material Material {
  69.                         diffuseColor 0 0 1
  70.                         modulateTextureWithDiffuse true
  71.                     }
  72.                     diffuseMap DiffuseMap {
  73.                         texture ImageTexture { url "../images/shared/sky.gif" }
  74.                     }
  75.                     environmentMap EnvironmentSphereMap {
  76.                         style LIGHT_MAP
  77.                         texture ImageTexture {
  78.                             url "sphere_lightmap.jpg"
  79.                         }
  80.                     }
  81.                 }
  82.             ]
  83.             geometry Cone {}
  84.         }
  85.     ]
  86. }
  87.